package cool.lichuan.project.system.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author lichuan
 * @date 2021/11/29 11:06
 * @description
 */
@Data
public class LoginDto implements Serializable {
    @NotEmpty(message = "登录名不能为空")
    private String loginName;
    @NotEmpty(message = "密码不能为空")
    private String password;
    private String code;
    private String device;

    private static final long serialVersionUID = 6345337508824043875L;
}
